#!/usr/local/bin/python3
# -*- coding: UTF-8 -*-
"""
@author:apple
@file:hashlib_module.py
@time:2021/08/19
"""
import hashlib


def test():
    ...
    hash = hashlib.md5('你哈'.encode('utf-8'))
    hash.update('呀'.encode('utf-8'))
    hash.update('哈哈'.encode('utf-8'))
    print(hash.hexdigest())

    hash01 = hashlib.md5('你'.encode('utf-8'))
    hash01.update('哈呀哈'.encode('utf-8'))
    hash01.update('哈'.encode('utf-8'))
    print(hash01.hexdigest())


if __name__ == '__main__':
    pass
    test()
